// 定义子类：老师类包含属性（部门名称），行为（发布问题）
public class Teacher extends Tlias{
    public String departmentName;
    Teacher(){

    }
    Teacher(String name,int age,String departmentName){
        super(name,age);
        this.departmentName=departmentName;
    }
    public void publishIssue(){
        System.out.println("老师"+name+"为:"+departmentName+"发布了问题");
    }
}
